package com.ruoyi.warning.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.base.Field;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 告警模版表
 * </p>
 *
 * @author chenhc
 * @since 2025-02-06
 */
@TableName("warning_template")
@Data
@ApiModel("告警模版表")
@SuppressWarnings("serial")
public class Template extends Field {
    private static final long serialVersionUID = 1L;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("模版名称")
    private String templateName;

    @ApiModelProperty("告警类型0摄像头温度预警")
    private String warningType;

    @ApiModelProperty("告警方式0电话1钉钉2邮箱3短信")
    private String warningWay;

    @ApiModelProperty("模版内容")
    private String templateContent;

}
